package com.canyou.system.entity.dept;

import com.canyou.utils.AbstractTreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 部门列表树形模型
 *
 * @author fy
 * @date 20/03/06 13:44
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeptListVO", description = "部门列表树形模型")
public class DeptListVO extends AbstractTreeNode<DeptListVO> {

    @ApiModelProperty(value = "所属机构id")
    private Long orgId;

    @ApiModelProperty("部门名")
    private String deptName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "父部门名称")
    private String parentName;

}
